package com.service.impl;
import org.springframework.stereotype.Service;
import java.util.*;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.transaction.annotation.Transactional;
import com.utils.PageUtils;
import com.utils.Query;
import com.dao.MeirijihuaDao;
import com.entity.MeirijihuaEntity;
import com.service.MeirijihuaService;
import com.entity.view.MeirijihuaView;
/**
 * 每日计划 服务实现类
 */
@Service("meirijihuaService")
@Transactional
public class MeirijihuaServiceImpl extends ServiceImpl<MeirijihuaDao, MeirijihuaEntity> implements MeirijihuaService {
    @Override
    public PageUtils queryPage(Map<String,Object> params) {
        Page<MeirijihuaView> page =new Query<MeirijihuaView>(params).getPage();
        page.setRecords(baseMapper.selectListView(page,params));
        return new PageUtils(page);
    }
}